# 数据库配置信息
HOSTNAME = '127.0.0.1'
PORT = '3306'
DATABASE = 'photo_display'
USERNAME = 'root'
PASSWORD = 'foxmmer'
DB_URI = f'mysql+pymysql://{USERNAME}:{PASSWORD}@{HOSTNAME}:{PORT}/{DATABASE}'

# SQLAlCHEMY_DATABASE_URI = DB_URI
# SQLALCHEMY_TRACK_MODIFICATIONS = True


SECRET_KEY = "foxhuty081126hklhl"

# 邮箱配置信息
MAIL_SERVER = "smtp.qq.com"
MAIL_PORT = 465
MAIL_USE_TLS = False
MAIL_USE_SSL = True
MAIL_DEBUG = True
MAIL_USERNAME = 'foxhuty@qq.com'
MAIL_PASSWORD = "cqhunmseqnevbgff"
MAIL_DEFAULT_SENDER = "foxhuty@qq.com"
